package com.fasteat.message.controller;

import com.fasteat.common.entity.Result;
import com.fasteat.message.entity.Message;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;

/**
 * @author: whz
 * @Description:
 * @Date Created in 2021/2/19
 */
@RestController
@Api(description="推送服务")
@CrossOrigin
@RequestMapping("/message")
public class PushController {
    /**
     * 通过用户id推送
     * @return
     */
    @ApiOperation(value = "通过用户id推送")
    @PostMapping("userId")
    public Result sendVerify(@RequestBody Message message) {
        return Result.success();
    }
}
